package controller

import (
	"net/http"
)

// NewHandler return a new ServeMux
func NewHandler() *http.ServeMux {
	mux := http.NewServeMux()
	mux.Handle("/", newIndexController())
	mux.HandleFunc("/login", login)
	mux.HandleFunc("/test", test)
	return mux
}
